package com.baby.work.service;

import com.baby.work.domain.ioc.TestIoc;
import com.baby.work.domain.reflection.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

@Service
public class IocService {
    @Autowired
    TestIoc testIoc;

    public String doIoc () {
        System.out.println("do ioc");
        return testIoc.doSomeWork();
    }
}
